
<div style='margin:30px 0' id='service_me_content_infos'></div>




<script>
$(function(){

	//服务选择
/*	if(!sessionStorage.service_me_serviceId){
		var service_me_serviceId = $('#service_me_serviceList_select').find('option:selected').val();
		sessionStorage.service_me_serviceId = service_me_serviceId;
	}else{
		$('#service_me_serviceList_select').find('option').each(function(){
			if(this.value == sessionStorage.service_me_serviceId){
				$(this).attr('selected',true);
			}
		});
	}
	$('#service_me_serviceList_select').change(function(){
		service_me_serviceId = $('#service_me_serviceList_select').find('option:selected').val();
		sessionStorage.service_me_serviceId = service_me_serviceId;
		sessionStorage.service_me_content_infos_pnow = 1; 	//重置分页码
		location.reload(true);
	});*/

	//加载信息列表
	if(!sessionStorage.service_me_content_infos_pnow){
		sessionStorage.service_me_content_infos_pnow = 1;
	}

	$.ajax({
		url:'Service/Template/Service_me/{$uid}/'+sessionStorage.service_me_content_infos_pnow+'.html?t='+Math.random(),
		success:function(res){
			$('#service_me_content_infos').html(res);
		},
		error:function(){
			$.ajax({
				url:'interface.php',
				data:{
					type:'token',
				},
				success:function(token){
					$.ajax({
						url:'before.php/Before/Index/service_me_content_infos',
						data:{
							token:token,
							service_id:sessionStorage.service_me_serviceId,
							pnow:sessionStorage.service_me_content_infos_pnow,
						},
						success:function(res){
							$('#service_me_content_infos').html(res);
						}
					})
				}
			})
		}
	});

});

</script>
